package com.wang.jmonkey.ca.handler.login;

import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter;

/**
 * @Description 用户登陆适配器接口
 * @Author HeJiawang
 * @Date 2021/5/10 17:40
 */
public interface UserServiceHandlerAdapter {

	UserDetails handler(String username);
	
	boolean support(AbstractAuthenticationProcessingFilter filter);
}
